package com.sjft.cloud.commons.support.datamodel.core.value;

import com.sjft.cloud.commons.support.datamodel.core.ModelFieldValue;
import com.sjft.cloud.commons.support.datamodel.enums.ModelFieldTypeEnum;
import lombok.Getter;
import lombok.Setter;

/**
 * CheckboxType
 *
 * @author Jin
 */
@Getter
@Setter
public class CheckboxValue implements ModelFieldValue<String[]> {
    private String type = ModelFieldTypeEnum.CHECKBOX_NAME;

    private String[] checkList = new String[]{};

    @Override
    public String[] getValue() {
        return checkList;
    }
}
